package com.xxf.basemvp.weakbase.weak

import android.os.Bundle
import android.support.v4.app.Fragment


/**
 * @author XXF
 */
abstract class WeakFragment<V, P : WeakPresenter<V>> : Fragment(), BaseView<V, P> {
    protected var mPresenter: P? = null

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        //创建Prsenter
        mPresenter = createPresenter()
        initView()
    }


}
